<template>
    <div class="w-full h-full flex flex-col justify-center items-center">
        <div class="mb-6 text-[32px] font-600">我是首页</div>
        <el-button @click="goLogin" type="primary">跳转登录页</el-button>
    </div>
</template>

<script setup lang="ts">
const router = useRouter()

const goLogin = () => {
    router.push('/login')
}

</script>

<style scoped></style>